Install NetBSD 9.2
PKG_PATH="ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/x86_64/9.2/All" export PKG_PATH
Install utility packages
pkg_add git pkg_add jed pkg_add bash pkg_add sudo pkg_add tcpdump pkg_add iperf pkg_add mozilla-rootcerts-openssl
Zabbix
pkg_add zabbix-agent cp /usr/pkg/share/examples/rc.d/zabbix_agentd /etc/rc.d/zabbix_agentd echo "zabbix_agentd=YES" >> /etc/rc.conf /etc/rc.d/zabbix_agentd start
Ada Development
pkg_add gmake pkg_add binutils pkg_add gdb pkg_add gcc6-aux
The gprbuild tool is not provided as binary and must be compiled/installed. You must
- build the gcc 10.3 compiler,
- build gprbuild from the sources
Installation pkgsrc
Setup /usr/pkgsrc
Get the pkgsrc.tar.gz:
ftp ftp://ftp.NetBSD.org/pub/pkgsrc/pkgsrc-2021Q1/pkgsrc.tar.gz
Exract it in /usr/pkgsrc:
tar -xzf pkgsrc.tar.gz -C /usr
Setup pkgsrc wip
cd /usr/pkgsrc/ git clone git://wip.pkgsrc.org/pkgsrc-wip.git wip
Build Ada Compiler
cd /usr/pkgsrc/wip/gcc10-aux make install
Build Gprbuild
git clone https://github.com/AdaCore/gprbuild.git git clone https://github.com/AdaCore/xmlada.git git clone https://github.com/AdaCore/gprconfig_kb.git cd gprbuild export PATH=/usr/pkg/gcc10-aux/bin:$PATH sh ./bootstrap.sh
Installation for AWA
pkg_add autoconf
pkg_add sqlite3 pkg_add mariadb-client mariadb-server pkg_add postgresql13-client postgresql13-server
Setup server
cp -p /usr/pkg/share/examples/rc.d/mariadb /etc/rc.d/mariadb cp -p /usr/pkg/share/examples/rc.d/pgsql /etc/rc.d/pgsql
Virtual Machine
- Avoid running with acpi
- Choose ne2k_pci network interface type
- This creates the ne2 interface
http://www.linux-kvm.org/page/Guest_Support_Status
Packages
- useradd -m ciceron
Packages to install:
pkg_add -f subversion pkg_add -f gmake
Ada Installation
pkg_add -f gnat-aux-20130412nb1 pkg_add -f gprbuild-aux-20120510 pkg_add: Warning: package `gnat-aux-20110627' was built with a newer pkg_install version pkg_add: Warning: package `libiconv-1.14nb2' was built with a newer pkg_install version libiconv-1.14nb2: copying /usr/pkg/share/examples/libiconv/charset.alias to /usr/pkg/lib/charset.alias bash-4.2# pkg_add -f binutils pkg_add: Warning: package `binutils-2.17nb1' was built with a newer pkg_install version pkg_add: Conflicting PLIST with gnat-aux-20110627: lib/libiberty.a binutils-2.17nb1: registering info file /usr/pkg/info/as.info binutils-2.17nb1: registering info file /usr/pkg/info/bfd.info binutils-2.17nb1: registering info file /usr/pkg/info/binutils.info binutils-2.17nb1: registering info file /usr/pkg/info/gprof.info binutils-2.17nb1: registering info file /usr/pkg/info/ld.info
Installation for AWA
pkg_add -f mysql-server-5.6.13 mysql-client-5.6.13nb1 postgresql93-client-9.3.0 postgresql93-server-9.3.0 sqlite3-3.8.0.2 pkg_add -f curl-7.32.0 pkg_add -f autoconf-2.69nb2
Installation for Jenkins
# Jenkins pkg_add -f openjdk7-bin-20090502 export ADA_PROJECT_PATH=/usr/pkg/lib/gnat export PATH=/usr/pkg/gcc-aux/bin:$PATH
AWA installation:
pkgin install ImageMagick-6.8.6.9